@use '../var.scss' as var;

//只需要重写你需要的即可
$--colors: (
  'primary': (
    'base': var.$color-primary
  ),
  'success': (
    'base': var.$color-success
  ),
  'warning': (
    'base': var.$color-warning
  ),
  'danger': (
    'base': var.$color-danger
  ),
  'error': (
    'base': var.$color-danger
  ),
  'info': (
    'base': var.$color-info
  )
);

// 字体color
$--text-color: (
  'primary': var.$text-color-primary,
  'regular': var.$text-color-regular,
  'secondary': var.$text-color-secondary,
  'placeholder': var.$text-color-placeholder,
  'disabled': var.$text-color-disabled
);

// border
$--border-color: (
  '': var.$border-color-default,
  'light': var.$border-color-light,
  'lighter': var.$border-color-lighter,
  'extra-light': var.$border-color-extra-light,
  'dark': var.$border-color-dark,
  'darker': var.$border-color-darker
);

@forward 'element-plus/theme-chalk/src/dark/var.scss' with (
  $colors: $--colors,
  $text-color: $--text-color,
  $border-color: $--border-color
);
